#!/usr/bin/python3.4

import zipfile

with zipfile.ZipFile('test.zip') as tmpzip:
    with tmpzip.open('test.txt') as myfile:
        print(myfile.read())
